package com.forum.module.blog.service.notification;

import com.baomidou.mybatisplus.extension.service.IService;
import com.forum.framework.common.pojo.PageResult;
import com.forum.module.blog.controller.notification.vo.NotificationPageReqVO;
import com.forum.module.blog.controller.notification.vo.NotificationSavaReqVO;
import com.forum.module.blog.dal.dataobject.notification.NotificationDO;

public interface NotificationService extends IService<NotificationDO> {
    Long createNotification(NotificationSavaReqVO reqVO);

    void updateNotification(NotificationSavaReqVO reqVO);

    void deleteById(Long id);

    PageResult<NotificationDO> getNotificationPage(NotificationPageReqVO pageReqVO);

    void sendMessage(Long userId, int type, String message);

    NotificationDO getNotification(Long id);
}
